Telegram Group & Telegram Channel
❇️ اسکریپت Lua سمت فرستنده
count = 0

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)

while true do -- continuous send count
print(count)
count = count + 1

tmr.delay(1000000)
end

❇️ اسکریپت Lua سمت گیرنده

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)


--print received data

uart.on("data", "\n", function(data) print("receive from uart:", data) end, 0)

🔰 @micropython_iot



tg-me.com/micropython_iot/83
Create:
Last Update:

❇️ اسکریپت Lua سمت فرستنده
count = 0

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)

while true do -- continuous send count
print(count)
count = count + 1

tmr.delay(1000000)
end

❇️ اسکریپت Lua سمت گیرنده

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)


--print received data

uart.on("data", "\n", function(data) print("receive from uart:", data) end, 0)

🔰 @micropython_iot

BY Micropython & IOT


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/micropython_iot/83

View MORE
Open in Telegram


Micropython & IOT Telegram | DID YOU KNOW?

Date: |

What is Telegram?

Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.

Micropython & IOT from us


Telegram Micropython & IOT
FROM USA